package com.sg.bean;

/**
 * @author lyx
 * 用户实体类
 */
public class User {
    /**
     * 用户编号
     */
    private int uId;
    /**
     * 用户密码
     */
    private String uPass;
    /**
     * 用户性别
     */
    private String uSex;
    /**
     * 用户年龄
     */
    private int uAge;
    /**
     * 用户电话
     */
    private String uTel;
    /**
     * 用户地址
     */
    private String uAdress;
    /**
     * 角色编号
     */
    private int rId;
    /**
     * 用户名称
     */
    private String uName;
    /**
     * 是否删除（注销）
     */
    private int isDelete;

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", uPass='" + uPass + '\'' +
                ", uSex='" + uSex + '\'' +
                ", uAge=" + uAge +
                ", uTel='" + uTel + '\'' +
                ", uAdress='" + uAdress + '\'' +
                ", rId=" + rId +
                ", uName='" + uName + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }

    public User(int uId, String uPass, String uSex, int uAge, String uTel, String uAdress, int rId, String uName, int isDelete) {
        this.uId = uId;
        this.uPass = uPass;
        this.uSex = uSex;
        this.uAge = uAge;
        this.uTel = uTel;
        this.uAdress = uAdress;
        this.rId = rId;
        this.uName = uName;
        this.isDelete = isDelete;
    }

    public User() {
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getuPass() {
        return uPass;
    }

    public void setuPass(String uPass) {
        this.uPass = uPass;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public int getuAge() {
        return uAge;
    }

    public void setuAge(int uAge) {
        this.uAge = uAge;
    }

    public String getuTel() {
        return uTel;
    }

    public void setuTel(String uTel) {
        this.uTel = uTel;
    }

    public String getuAdress() {
        return uAdress;
    }

    public void setuAdress(String uAdress) {
        this.uAdress = uAdress;
    }

    public int getrId() {
        return rId;
    }

    public void setrId(int rId) {
        this.rId = rId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }
}
